/**
  项目JS主入口
  以依赖Layui的layer和form模块为例
**/
layui.define(['layer', 'form'], function(exports) {
    var layer = layui.layer,
        form = layui.form();

    $(document).ready(function() {
        $('#fullpage').fullpage({
            verticalCentered: false,

            //to avoid problems with css3 transforms and fixed elements in Chrome, as detailed here: https://github.com/alvarotrigo/fullPage.js/issues/208
            css3: false
        });
    });

    layer.msg('Hello World');

    exports('index', {}); //注意，这里是模块输出的核心，模块名必须和use时的模块名一致
});